www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Admin_UsersErrors.asp

    <html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--用户报错管理</title>
<LINK href="css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<script language="JavaScript" src="YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<!--#include file="../Conn.asp" -->
<!--#include file="YWNT_TMS_inc/YWNT_TMS_Function.asp" -->
<!--#include file="YWNT_TMS_inc/YWNT_TMS_Page.asp" -->
<%
'===================================================================================================================
'软件名称:云网影视管理系统
'Copyright (C) 2002-2007 ywnt.net  All rights reserved.
'产品咨询QQ:489234,2813712
'程序版权:云网互动科技有限公司
'程序开发:云网互动科技有限公司
'官方网站:http://www.ywnt.net 
'郑重声明:
'    1、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
'    2、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
'    3、云网互动科技有限公司保留此软件的法律追究权利
'===================================================================================================================
Call CheckLogin("UsersErrors")
Action=Trim(Request("Action"))
Select Case Action
Case "Del"
	call Del()
End Select

sub Del()
	conn.execute "delete from YWNT_TMS_UsersErrors WHERE ID in ("&NoSqlHack(Request("ID"))&")"
	Call AddLog("删除用户报错",7)
	call Admin_ShowErr("<li>删除用户报错成功!</li>","Admin_UsersErrors.asp",1)
end sub%>
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td width="5%" align="center" class=xingmu>ID</td>
      <td width="15%" align="center" class=xingmu>报错会员</td>
      <td width="10%" align="center" class=xingmu>IP</td>
      <td width="18%" align="center" class=xingmu>报错时间</td>
      <td width="15%" align="center" class=xingmu>报错影片</td>
      <td align="center" class=xingmu>报错原因</td>
      <td width="8%" colspan="2" align="center" class=xingmu>操作</td>
    </tr>
	<form name="forms" action="Admin_UsersErrors.asp" method="post">
	<%Dim int_RPP
	int_RPP=GetConfig("PageNumber") '设置每页显示数目  
	Set Rs = server.CreateObject(YWNT_TMS_RS)
		sql="Select * from YWNT_TMS_UsersErrors Order by ID desc"
		Rs.open sql,Conn,1,1
	if Rs.eof then
	   Response.Write"<TR  class=""hback""><TD colspan=""9"" class=""hback"" height=""40"">没有记录。</TD></TR>"
	else
		Rs.PageSize=int_RPP
		cPageNo=NoSqlHack(Request.QueryString("Page"))
		If cPageNo="" Then cPageNo = 1
		If not isnumeric(cPageNo) Then cPageNo = 1
		cPageNo = Clng(cPageNo)
		If cPageNo>Rs.PageCount Then cPageNo=Rs.PageCount 
		If cPageNo<=0 Then cPageNo=1
		Rs.AbsolutePage=cPageNo 
	for i=1 to int_RPP
	 if Rs.eof Then exit For %>
    <tr>
      <td height=32 align="center" class="hback"><%=RS("ID")%></td>
      <td height=32 align="center" class="hback"><%=RS("ErrorsUsers")%></td>
      <td height=32 align="center" class="hback"><%=RS("ErrorsUsersIP")%></td>
      <td height=32 align="center" class="hback"><%=RS("ErrorsDate")%></td>
      <td align="center" class="hback"><%=RS("ErrorsMovie")%></td>
      <td align="center" class="hback"><%=RS("ErrorsReasons")%></td>
      <td width="5%" align="center" class="hback"><a href="Admin_UsersErrors.asp?Action=Del&ID=<%=RS("ID")%>">删除</a></td>
      <td width="3%" align="center" class="hback"><input name="ID" type="checkbox" id="ID" value="<% = RS("ID")%>"></td>
    </tr>
	<%Rs.MoveNext
	next 
	end if%>
	<tr align="right">
	<td height=32 colspan="9" class="hback">
	<input name="Action" type="hidden" id="Action">
	<input type="checkbox" name="chkall" value="checkbox" onClick="CheckAll(document.forms.chkall.checked);">
	选择所有
	<input type="submit" name="Submit" value="删除"  onClick="document.forms.Action.value='Del';">	</td>
	</tr>
	</form>
	<tr align="right">
	<td height=32 colspan="9" class="hback"><%response.Write fPageCount(Rs,cPageNo)%></td>
	</tr>
	<%RS.Close
	Set RS = Nothing%>
  </tbody>
</table>
<%call connclose()%>
</BODY></HTML>